<div class="wrap cfix">
  <div class="main-cont innerWrap">
    <div id="content">
    	<div class="strap multimedia" style="margin: 5px 0px 0px 0px;border: none;padding: 10px 0px 0px 0px;">
			<header class="cf" style="margin-bottom:0px;">
			<h2>Câu hỏi của bạn</h2>
			<ul class="nav">
				<li ><a href="<?php echo base_url(); ?>cau-hoi-moi-nhat.html">Câu hỏi mới nhất</a></li>
				<li ><a href="<?php echo base_url(); ?>cau-hoi-nhieu-tra-loi-nhat.html">Nhiều trả lời nhất</a></li>
				<li ><a href="<?php echo base_url(); ?>cau-hoi-hay-nhat.html">Câu hỏi hay nhất</a></li>
                <li ><a style="color:#f00;font-weight:bold;" href="<?php echo base_url(); ?>dang-nhap.html">Tài khoản</a></li>
			</ul>
			</header>
		</div>
        
      <section class="top-page">
      
        <div class="col last" style="width:250px">
          <div id="adspot-300x250-pos-1" class="ad" style="width:250px"> <img src="<?php echo base_url(); ?>public/images/adsense-300x250.gif" width="250" alt=""> </div>
        </div>
        <section id="Newswell">
          <div class="col strap personalised" style="width:160px;margin-right:17px">
            <section id="Timeout">
              <article class="article lifestyle clippingArea clippingAction"> <a href="#" title=""><img src="<?php echo base_url(); ?>public/images/th-495359715-140x93.jpg" width="140" height="93" alt=""></a>
                <div>
                  <h3><a href="#" title="">Too far? Rihanna bares (nearly) all on the red carpet</a></h3>
                  <div class="article-meta"> <em class="access">Contains:</em> <span class="icon poll" title="Article contains a poll">poll</span> <span class="icon gallery" title="Photo gallery">gallery</span> </div>
                </div>
              </article>
              <article class="article world clippingArea clippingAction"> <a href="#" title=""><img src="<?php echo base_url(); ?>public/images/th-sunbather-140x93.jpg" width="140" height="93" alt=""></a>
                <div>
                  <h3><a href="#" title="">Lucky escape: Plane narrowly misses beach sunbather</a></h3>
                  <div class="article-meta"> <em class="access">Contains:</em> <span class="icon video" title="This article contains a video.">This article contains a video.</span> </div>
                </div>
              </article>
              <article class="article entertainment clippingArea clippingAction"> <a href="#" title=""><img src="<?php echo base_url(); ?>public/images/Tyrion-thrones-th-140x93.jpg" width="140" height="93" alt=""></a>
                <div>
                  <h3><a href="#" title="">Game of Thrones shocker: how much can viewers stand?</a></h3>
                  <div class="article-meta"> <em class="access">Contains:</em> <a href="#"><span title="comments" class="icon comments">total comments</span>67</a> </div>
                </div>
              </article>
              <article class="article domain clippingArea clippingAction"> <a href="#" title=""><img src="<?php echo base_url(); ?>public/images/20110131943pio24144319--1-_320-140x93.jpg" width="140" height="93" alt=""></a>
                <div>
                  <h3><a href="#" title="">Swimming in it: Sydney mansion sells for $30 million</a></h3>
                  <div class="article-meta"> <em class="access">Contains:</em> <span class="icon gallery" title="Photo gallery">gallery</span> </div>
                </div>
              </article>
            </section>
          </div>
          <div class="col strap breaking-news" style="width:492px">
            <div class="homelink">♠ <a href="<?php echo base_url(); ?>">Trang chủ</a> » <a href="<?php echo base_url(); ?>quan-ly-tai-khoan.html" title="Thông tin tài khoản">Thông tin tài khoản</a></div>
	            <style type="text/css">
					 .tbl_regist{ width:492px; }
					 #ferorrs{width:96%;margin-bottom:5px;}
	 			</style>
				<div id="ferorrs">
				<?php if(isset($error)) { echo "<p>".$error."</p>"; } ?>
				<?php echo validation_errors();?>
			</div>
            <form action="<?php echo base_url(); ?>quan-ly-tai-khoan.html" method="post" enctype="multipart/form-data">
              <table cellpadding="4" cellspacing="0" class="tbl_regist">
                <tr class="title_table">
                  <td colspan="2" class="fieldheader"><img style="margin-top: 3px;" src="<?php echo base_url(); ?>public/images/icon_info_regist.png"/>Thông tin tài khoản</td>
                </tr>
                <tr>
                  <td width="200px">Tên tài khoản <b style="color: #ff0000;">*</b> <span id="check_user"></span></td>
                  <td><input style="cursor: no-drop;" type="text" id="username" class="boxInput" size="20" value="<?php echo $result['username']; ?>" disabled /></td>
                </tr>
                <tr>
                  <td width="200px">Họ và tên <b style="color: #ff0000;">*</b> <span id="check_user"></span></td>
                  <td><input type="text" name="fullname" class="boxInput" size="20" value="<?php echo $result['name']; ?>" /></td>
                </tr>
                <tr>
                  <td width="200px">Địa chỉ <b style="color: #ff0000;">*</b> <span id="check_user"></span></td>
                  <td><input type="text" name="adress" value="<?php echo $result['adress']; ?>" class="boxInput" size="20" /></td>
                </tr>
                <tr>
                  <td width="200px">Giới tính</td>
                  <td>
					<select name="gender" id="gender">
						<option value="1" <?php if($result['gender'] == 1){ echo "selected='selected'";} ?>>Nam</option>
						<option value="0" <?php if($result['gender'] == 0){ echo "selected='selected'";} ?>>Nữ</option>
					</select>
                  </td>
                </tr>
                <tr>
                  <td width="200px">Ảnh đại diện <b style="color: #ff0000;">*</b> <span id="check_user"></span></td>
                  <td>
                  	<?php if($result['image'] != NULL){
					echo "<img src='".base_url()."uploads/users/thumb/$result[image]' width='50' style='margin-bottom:5px' />"; } 
					?>
					<input type="file" name="avatar" size="25" /> 
                  </td>
                </tr>
                <tr>
                  <td width="200px">Số điện thoại <b style="color: #ff0000;">*</b> <span id="check_user"></span></td>
                  <td><input type="text" name="userphone" value="<?php echo $result['phone']; ?>" class="boxInput" size="20" /></td>
                </tr>
                <tr>
                  <td width="200px">Địa chỉ email <b style="color: #ff0000;">*</b> <span id="check_user"></span></td>
                  <td><input type="text" name="useremail" value="<?php echo $result['email']; ?>" class="boxInput" size="20" /></td>
                </tr>
                <tr>
                  <td width="200px">Mã xác nhận</td>
                  <td><img src="<?php echo base_url()."home/ran_image"; ?>"/></td>
                </tr>
                <tr>
                  <td width="200px">Nhập mã xác nhận <b style="color: #ff0000;">*</b> <span id="check_user"></span></td>
                  <td><input type="text" name="captcha" class="boxInput" size="20"   value=""/></td>
                </tr>
                <tr>
                  <td width="200px"></td>
                  <td><input type="submit" name="ok" id="okie" class="boxInput bachnx_questions" size="20" value="Sửa thông tin" /></td>
                </tr>
              </table>
            </form>
          </div>
        </section>
        <div class="col last strap" style="width:250px">
          <div class="ad" style="width:250px"> <img src="<?php echo base_url(); ?>public/images/adsense-300x250.gif" width="250" alt=""> </div>
        </div>
      </section>
    </div>
  </div>
</div>